import request from '@/utils/request'

// 查询整改复查列表
export function listRectificationReview(query) {
  return request({
    url: '/check/rectificationReview/list',
    method: 'get',
    params: query
  })
}

// 查询整改复查详细
export function getRectificationReview(rectificationReviewId) {
  return request({
    url: '/check/rectificationReview/' + rectificationReviewId,
    method: 'get'
  })
}

// 新增整改复查
export function addRectificationReview(data) {
  return request({
    url: '/check/rectificationReview',
    method: 'post',
    data: data
  })
}

// 修改整改复查
export function updateRectificationReview(data) {
  return request({
    url: '/check/rectificationReview',
    method: 'put',
    data: data
  })
}

// 删除整改复查
export function delRectificationReview(rectificationReviewId) {
  return request({
    url: '/check/rectificationReview/' + rectificationReviewId,
    method: 'delete'
  })
}
